package com.freedom.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.freedom.controller.w.core.BaseWebPaginationCRUDController;
import com.freedom.vo.w.core.WebVo;

@Controller
public class TestController extends BaseWebPaginationCRUDController<WebVo> {


	/**
	 * 测试页面1
	 * 
	 * @return
	 */
	@RequiresPermissions("admin:view1")
	@RequestMapping(value = "/abc")
	public String index() {
		return "redirect:http://127.0.0.1:8084/applyshiro/";
	}

	/**
	 * 测试页面2
	 * 
	 * @return
	 */
	@RequestMapping(value = "/abd")
	public String index2() {
		return "redirect:http://127.0.0.1:8084/applyshiro/";
	}

	/**
	 * 测试页面3
	 * 
	 * @return
	 */
	@RequestMapping(value = "/hgj")
	public String index3() {
		return "redirect:http://127.0.0.1:8084/applyshiro/";
	}

	@Override
	public String init() {
		// TODO Auto-generated method stub
		return null;
	}

}
